<%@page contentType="text/html;charset=UTF-8"%>
<% request.setCharacterEncoding("UTF-8"); %>
<HTML>
<HEAD>
<TITLE>Result</TITLE>
</HEAD>
<BODY>
<H1>Result</H1>

<jsp:useBean id="sampleAuthenticationManagerProxyid" scope="session" class="archsw0904.controller.authentication.AuthenticationManagerProxy" />
<%
if (request.getParameter("endpoint") != null && request.getParameter("endpoint").length() > 0)
sampleAuthenticationManagerProxyid.setEndpoint(request.getParameter("endpoint"));
%>

<%
String method = request.getParameter("method");
int methodID = 0;
if (method == null) methodID = -1;

if(methodID != -1) methodID = Integer.parseInt(method);
boolean gotMethod = false;

try {
switch (methodID){ 
case 2:
        gotMethod = true;
        java.lang.String getEndpoint2mtemp = sampleAuthenticationManagerProxyid.getEndpoint();
if(getEndpoint2mtemp == null){
%>
<%=getEndpoint2mtemp %>
<%
}else{
        String tempResultreturnp3 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getEndpoint2mtemp));
        %>
        <%= tempResultreturnp3 %>
        <%
}
break;
case 5:
        gotMethod = true;
        String endpoint_0id=  request.getParameter("endpoint8");
            java.lang.String endpoint_0idTemp = null;
        if(!endpoint_0id.equals("")){
         endpoint_0idTemp  = endpoint_0id;
        }
        sampleAuthenticationManagerProxyid.setEndpoint(endpoint_0idTemp);
break;
case 10:
        gotMethod = true;
        archsw0904.controller.authentication.AuthenticationManager getAuthenticationManager10mtemp = sampleAuthenticationManagerProxyid.getAuthenticationManager();
if(getAuthenticationManager10mtemp == null){
%>
<%=getAuthenticationManager10mtemp %>
<%
}else{
        if(getAuthenticationManager10mtemp!= null){
        String tempreturnp11 = getAuthenticationManager10mtemp.toString();
        %>
        <%=tempreturnp11%>
        <%
        }}
break;
case 13:
        gotMethod = true;
        String arg0_1id=  request.getParameter("arg026");
            java.lang.Integer arg0_1idTemp = null;
        if(!arg0_1id.equals("")){
         arg0_1idTemp  = java.lang.Integer.valueOf(arg0_1id);
        }
        archsw0904.controller.authentication.ProfileClient getClientProfile13mtemp = sampleAuthenticationManagerProxyid.getClientProfile(arg0_1idTemp);
if(getClientProfile13mtemp == null){
%>
<%=getClientProfile13mtemp %>
<%
}else{
%>
<TABLE>
<TR>
<TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">address:</TD>
<TD>
<%
if(getClientProfile13mtemp != null){
java.lang.String typeaddress16 = getClientProfile13mtemp.getAddress();
        String tempResultaddress16 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typeaddress16));
        %>
        <%= tempResultaddress16 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">telephone:</TD>
<TD>
<%
if(getClientProfile13mtemp != null){
java.lang.String typetelephone18 = getClientProfile13mtemp.getTelephone();
        String tempResulttelephone18 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typetelephone18));
        %>
        <%= tempResulttelephone18 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">cap:</TD>
<TD>
<%
if(getClientProfile13mtemp != null){
java.lang.String typecap20 = getClientProfile13mtemp.getCap();
        String tempResultcap20 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typecap20));
        %>
        <%= tempResultcap20 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">state:</TD>
<TD>
<%
if(getClientProfile13mtemp != null){
java.lang.String typestate22 = getClientProfile13mtemp.getState();
        String tempResultstate22 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typestate22));
        %>
        <%= tempResultstate22 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">city:</TD>
<TD>
<%
if(getClientProfile13mtemp != null){
java.lang.String typecity24 = getClientProfile13mtemp.getCity();
        String tempResultcity24 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typecity24));
        %>
        <%= tempResultcity24 %>
        <%
}%>
</TD>
</TABLE>
<%
}
break;
case 28:
        gotMethod = true;
        String arg0_2id=  request.getParameter("arg031");
            java.lang.Integer arg0_2idTemp = null;
        if(!arg0_2id.equals("")){
         arg0_2idTemp  = java.lang.Integer.valueOf(arg0_2id);
        }
        java.lang.String getRoleByToken28mtemp = sampleAuthenticationManagerProxyid.getRoleByToken(arg0_2idTemp);
if(getRoleByToken28mtemp == null){
%>
<%=getRoleByToken28mtemp %>
<%
}else{
        String tempResultreturnp29 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getRoleByToken28mtemp));
        %>
        <%= tempResultreturnp29 %>
        <%
}
break;
case 33:
        gotMethod = true;
        String arg0_3id=  request.getParameter("arg036");
            java.lang.Integer arg0_3idTemp = null;
        if(!arg0_3id.equals("")){
         arg0_3idTemp  = java.lang.Integer.valueOf(arg0_3id);
        }
        java.lang.Integer getUserIdByToken33mtemp = sampleAuthenticationManagerProxyid.getUserIdByToken(arg0_3idTemp);
if(getUserIdByToken33mtemp == null){
%>
<%=getUserIdByToken33mtemp %>
<%
}else{
        String tempResultreturnp34 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getUserIdByToken33mtemp));
        %>
        <%= tempResultreturnp34 %>
        <%
}
break;
case 38:
        gotMethod = true;
        String arg0_4id=  request.getParameter("arg041");
            java.lang.String arg0_4idTemp = null;
        if(!arg0_4id.equals("")){
         arg0_4idTemp  = arg0_4id;
        }
        String arg1_5id=  request.getParameter("arg143");
            java.lang.String arg1_5idTemp = null;
        if(!arg1_5id.equals("")){
         arg1_5idTemp  = arg1_5id;
        }
        int logIn38mtemp = sampleAuthenticationManagerProxyid.logIn(arg0_4idTemp,arg1_5idTemp);
        String tempResultreturnp39 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(logIn38mtemp));
        %>
        <%= tempResultreturnp39 %>
        <%
break;
case 45:
        gotMethod = true;
        String arg0_6id=  request.getParameter("arg048");
        int arg0_6idTemp  = Integer.parseInt(arg0_6id);
        sampleAuthenticationManagerProxyid.logOut(arg0_6idTemp);
break;
}
} catch (Exception e) { 
%>
exception: <%= e %>
<%
return;
}
if(!gotMethod){
%>
result: N/A
<%
}
%>
</BODY>
</HTML>